package com.qf.bean;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class DebtOrder {
    private Integer oid;

    //外键：欠款主体id
    private Integer did;

    private String clientName;

    private String receiptNum;

    private double owe;

    @NotNull(message = "请填写还款金额!")
    private double refund;

    private Date operationDate;

    private String operator;

    @NotBlank(message = "备注不能为空!")
    private String comment;

}